/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package stcu.forms;


/**
 *
 * @author Acer
 */
public class ServerStart extends javax.swing.JFrame {

    /**
     * Creates new form ServerStart
     */
    public ServerStart() {
        initComponents();
    }


    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        fileChoose = new javax.swing.JButton();
        fileTxt = new javax.swing.JTextField();
        startButton = new javax.swing.JButton();
        jLabel2 = new javax.swing.JLabel();
        jLabel1 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setMinimumSize(new java.awt.Dimension(419, 214));
        getContentPane().setLayout(null);

        fileChoose.setText("Choose FIle");
        getContentPane().add(fileChoose);
        fileChoose.setBounds(260, 60, 100, 30);

        getContentPane().add(fileTxt);
        fileTxt.setBounds(60, 60, 180, 30);

        startButton.setText("Start Server");
        getContentPane().add(startButton);
        startButton.setBounds(140, 130, 150, 50);

        jLabel2.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N
        jLabel2.setForeground(new java.awt.Color(255, 255, 255));
        jLabel2.setText("S T C U : SERVER");
        getContentPane().add(jLabel2);
        jLabel2.setBounds(10, 10, 220, 29);

 		ClassLoader cl = this.getClass().getClassLoader();			
        jLabel1.setIcon(new javax.swing.ImageIcon(cl.getResource("resources/images/startServeraBG.jpg"))); // NOI18N
        jLabel1.setMinimumSize(new java.awt.Dimension(419, 214));
        jLabel1.setPreferredSize(new java.awt.Dimension(419, 214));
        getContentPane().add(jLabel1);
        jLabel1.setBounds(0, 0, 419, 214);

        pack();
    }// </editor-fold>//GEN-END:initComponents


    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(ServerStart.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(ServerStart.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(ServerStart.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(ServerStart.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new ServerStart().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    protected javax.swing.JButton fileChoose;
    protected javax.swing.JFileChooser fileChooser;
    protected javax.swing.JTextField fileTxt;
    protected javax.swing.JLabel jLabel1;
    protected javax.swing.JLabel jLabel2;
    protected javax.swing.JButton startButton;
    // End of variables declaration//GEN-END:variables
}
